package com.hitqz.robot.biz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hitqz.robot.api.business.model.vo.patrol.PatrolItemOptionVo;
import com.hitqz.robot.api.business.model.vo.patrol.PatrolItemVo;
import com.hitqz.robot.api.common.entity.PatrolItem;
import com.hitqz.robot.biz.mapper.PatrolItemMapper;
import com.hitqz.robot.biz.service.PatrolItemService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wengyx
 * @date 2024/8/7
 */
@Service
@AllArgsConstructor
public class PatrolItemServiceIml extends ServiceImpl<PatrolItemMapper, PatrolItem> implements PatrolItemService {
    @Override
    public PatrolItemVo getVoById(Integer id) {
        return baseMapper.getVoById(id);
    }

    @Override
    public List<PatrolItemVo> getVoListByPoseGroupId(Integer poseGroupId) {
        return baseMapper.getVoListByPoseGroupId(poseGroupId);
    }

    @Override
    public List<PatrolItemOptionVo> getOptionVoList() {
        return baseMapper.getOptionVoList();
    }


}
